home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / AHDI / TTINST / DEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-09  |  1.0 KB  |  43 lines

  1. /* defs.h */
  2.  
  3. #define    DVRSOURCE "SHDRIVER.RAW"     /* hard disk driver */
  4. #define    DVRNAME  ":\\SHDRIVER.SYS"     /* driver destination on hard disk */
  5. #define    OLDDVR  ":\\SH204DVR.SYS"     /* old driver */
  6. /*#define    RESOURCEFILE "HINSTALL.RSC"*/    /* resource file for HINSTALL */
  7. #define    RESOURCEFILE "CPYBOOT.RSC"    /* resource file for CPYBOOT */
  8.  
  9.  
  10. #define    BUFSIZ    10240L
  11.  
  12. #define WI_KIND        0        /* window to be opened on screen */
  13.  
  14. #define MAXPHYSDEVS    8        /* max #devs on DMA bus */
  15. #define    MAXLOGDEVS    14        /* max # logical block devices */
  16. #define    NPARTS        4        /* #partitions in root block */
  17.  
  18. #define    NULL    0L
  19. #define    LONG    long
  20. #define    WORD    int
  21. #define UWORD    unsigned int
  22. #define    BYTE    char
  23.  
  24. #define    SECTOR    LONG
  25.  
  26. #define    OFF        0
  27. #define ON        1
  28.  
  29. #define    NO        0
  30. #define YES        1
  31.  
  32. #define    FALSE        0
  33. #define TRUE        1
  34.  
  35. #define    OK        0
  36. #define    ERROR        (-1)
  37. #define BAILOUT        (-2)
  38.  
  39. #define    BOOTDEV        0x446        /* address of boot device */
  40. #define    PUNPTR        0x516        /* address of pun pointer */
  41.  
  42. #define    AHDI        0x41484449  /* hex value of 'AHDI' */
  43.